<!DOCTYPE html>

















































<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

  <meta name="description" content="Javadoc API documentation." />

<link rel="shortcut icon" type="image/x-icon" href="../../../../../favicon.ico" />
<title>

  AudioCapture.OnAudioCaptureListener


</title>
<link href="../../../../../../assets/doclava-developer-docs.css" rel="stylesheet" type="text/css" />
<link href="../../../../../../assets/customizations.css" rel="stylesheet" type="text/css" />
<script src="../../../../../../assets/search_autocomplete.js" type="text/javascript"></script>
<script src="../../../../../../assets/jquery-resizable.min.js" type="text/javascript"></script>
<script src="../../../../../../assets/doclava-developer-docs.js" type="text/javascript"></script>
<script src="../../../../../../assets/prettify.js" type="text/javascript"></script>
<script type="text/javascript">
  setToRoot("../../../../../", "../../../../../../assets/");
</script>
<script src="../../../../../../assets/doclava-developer-reference.js" type="text/javascript"></script>
<script src="../../../../../../assets/navtree_data.js" type="text/javascript"></script>
<script src="../../../../../../assets/customizations.js" type="text/javascript"></script>
<noscript>
  <style type="text/css">
    html,body{overflow:auto;}
    #body-content{position:relative; top:0;}
    #doc-content{overflow:visible;border-left:3px solid #666;}
    #side-nav{padding:0;}
    #side-nav .toggle-list ul {display:block;}
    #resize-packages-nav{border-bottom:3px solid #666;}
  </style>
</noscript>
</head>

<body class="">

<div id="header">
    <div id="headerLeft">
    
    </div>
    <div id="headerRight">
      
  <div id="search" >
      <div id="searchForm">
          <form accept-charset="utf-8" class="gsc-search-box" 
                onsubmit="return submit_search()">
            <table class="gsc-search-box" cellpadding="0" cellspacing="0"><tbody>
                <tr>
                  <td class="gsc-input">
                    <input id="search_autocomplete" class="gsc-input" type="text" size="33" autocomplete="off"
                      title="search developer docs" name="q"
                      value="search developer docs"
                      onFocus="search_focus_changed(this, true)"
                      onBlur="search_focus_changed(this, false)"
                      onkeydown="return search_changed(event, true, '../../../../../')"
                      onkeyup="return search_changed(event, false, '../../../../../')" />
                  <div id="search_filtered_div" class="no-display">
                      <table id="search_filtered" cellspacing=0>
                      </table>
                  </div>
                  </td>
                  <td class="gsc-search-button">
                    <input type="submit" value="Search" title="search" id="search-button" class="gsc-search-button" />
                  </td>
                  <td class="gsc-clear-button">
                    <div title="clear results" class="gsc-clear-button">&nbsp;</div>
                  </td>
                </tr></tbody>
              </table>
          </form>
      </div><!-- searchForm -->
  </div><!-- search -->
      
    </div>
</div><!-- header -->


  <div class="g-section g-tpl-240" id="body-content">
    <div class="g-unit g-first side-nav-resizable" id="side-nav">
      <div id="swapper">
        <div id="nav-panels">
          <div id="resize-packages-nav">
            <div id="packages-nav">
              <div id="index-links">
                <a href="../../../../../packages.html"  >Package Index</a> | 
                <a href="../../../../../classes.html" >Class Index</a>
              </div>
              <ul>
                
    <li class="selected api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/capture/package-summary.html">com.ksyun.media.streamer.capture</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/capture/audio/package-summary.html">com.ksyun.media.streamer.capture.audio</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/capture/camera/package-summary.html">com.ksyun.media.streamer.capture.camera</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/decoder/package-summary.html">com.ksyun.media.streamer.decoder</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/demuxer/package-summary.html">com.ksyun.media.streamer.demuxer</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/encoder/package-summary.html">com.ksyun.media.streamer.encoder</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/filter/audio/package-summary.html">com.ksyun.media.streamer.filter.audio</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/filter/imgbuf/package-summary.html">com.ksyun.media.streamer.filter.imgbuf</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/filter/imgtex/package-summary.html">com.ksyun.media.streamer.filter.imgtex</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/framework/package-summary.html">com.ksyun.media.streamer.framework</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/kit/package-summary.html">com.ksyun.media.streamer.kit</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/logstats/package-summary.html">com.ksyun.media.streamer.logstats</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/publisher/package-summary.html">com.ksyun.media.streamer.publisher</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/util/package-summary.html">com.ksyun.media.streamer.util</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/util/audio/package-summary.html">com.ksyun.media.streamer.util.audio</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/util/device/package-summary.html">com.ksyun.media.streamer.util.device</a></li>
    <li class="api apilevel-">
  <a href="../../../../../com/ksyun/media/streamer/util/gles/package-summary.html">com.ksyun.media.streamer.util.gles</a></li>
              </ul><br/>
            </div> <!-- end packages -->
          </div> <!-- end resize-packages -->
          <div id="classes-nav">
            <ul>
              
    <li><h2>Interfaces</h2>
      <ul>
          <li class="selected api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/AudioCapture.OnAudioCaptureListener.html">AudioCapture.OnAudioCaptureListener</a></li>
          <li class="api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/CameraCapture.OnCameraCaptureListener.html">CameraCapture.OnCameraCaptureListener</a></li>
      </ul>
    </li>
              
    <li><h2>Classes</h2>
      <ul>
          <li class="api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/AudioCapture.html">AudioCapture</a></li>
          <li class="api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/AudioPlayerCapture.html">AudioPlayerCapture</a></li>
          <li class="api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/AudioPlayerCapture.PlayRanges.html">AudioPlayerCapture.PlayRanges</a></li>
          <li class="api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/CameraCapture.html">CameraCapture</a></li>
          <li class="api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/CameraCapture.Size.html">CameraCapture.Size</a></li>
          <li class="api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/ImageCapture.html">ImageCapture</a></li>
          <li class="api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/ImgBufSrcPin.html">ImgBufSrcPin</a></li>
          <li class="api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/ImgTexSrcPin.html">ImgTexSrcPin</a></li>
          <li class="api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/ViewCapture.html">ViewCapture</a></li>
          <li class="api apilevel-"><a href="../../../../../com/ksyun/media/streamer/capture/WaterMarkCapture.html">WaterMarkCapture</a></li>
      </ul>
    </li>
              
              
              
              
            </ul><br/>
          </div><!-- end classes -->
        </div><!-- end nav-panels -->
        <div id="nav-tree" style="display:none">
          <div id="index-links">
            <a href="../../../../../packages.html"  >Package Index</a> | 
            <a href="../../../../../classes.html" >Class Index</a>
          </div>
        </div><!-- end nav-tree -->
      </div><!-- end swapper -->
    </div> <!-- end side-nav -->
    <script>
      if (!isMobile) {
        $("<a href='#' id='nav-swap' onclick='swapNav();return false;' style='font-size:10px;line-height:9px;margin-left:1em;text-decoration:none;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>").appendTo("#side-nav");
        chooseDefaultNav();
        if ($("#nav-tree").is(':visible')) {
          init_default_navtree("../../../../../");
        } else {
          addLoadEvent(function() {
            scrollIntoView("packages-nav");
            scrollIntoView("classes-nav");
          });
        }
        $("#swapper").css({borderBottom:"2px solid #aaa"});
      } else {
        swapNav(); // tree view should be used on mobile
      }
    </script>



<div class="g-unit" id="doc-content">

<div id="api-info-block">




<div class="sum-details-links">


</div><!-- end sum-details-links -->
<div class="api-level">
  


  
  

</div>
</div><!-- end api-info-block -->


<!-- ======== START OF CLASS DATA ======== -->

<div id="jd-header">
    public
    static 
     
    
    interface
<h1>AudioCapture.OnAudioCaptureListener</h1>



  
  
  


</div><!-- end header -->

<div id="naMessage"></div>

<div id="jd-content" class="api apilevel-">
<table class="jd-inheritance-table">


    <tr>
         	
        <td colspan="1" class="jd-inheritance-class-cell">com.ksyun.media.streamer.capture.AudioCapture.OnAudioCaptureListener</td>
    </tr>
    

</table>







<div class="jd-descr">


<h2>Class Overview</h2>
<p>AudioCapture status and error listener interface.
</p>





</div><!-- jd-descr -->
















<div class="jd-descr">


<h2>Summary</h2>



























<!-- ========== METHOD SUMMARY =========== -->
<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr>



	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            abstract
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../../com/ksyun/media/streamer/capture/AudioCapture.OnAudioCaptureListener.html#onError(int)">onError</a></span>(int errorCode)
        
        <div class="jd-descrdiv">Notify AudioCapture error occurred.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            abstract
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../../com/ksyun/media/streamer/capture/AudioCapture.OnAudioCaptureListener.html#onStatusChanged(int)">onStatusChanged</a></span>(int status)
        
        <div class="jd-descrdiv">Notify AudioCapture status changed.</div>
  
  </td></tr>



</table>







</div><!-- jd-descr (summary) -->

<!-- Details -->








<!-- XML Attributes -->


<!-- Enum Values -->


<!-- Constants -->


<!-- Fields -->


<!-- Public ctors -->



<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- Protected ctors -->



<!-- ========= METHOD DETAIL ======== -->
<!-- Public methdos -->

<h2>Public Methods</h2>



<a id="onError(int)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
        abstract 
         
        void
      </span>
      <span class="sympad">onError</span>
      <span class="normal">(int errorCode)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Notify AudioCapture error occurred.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>errorCode</th>
          <td>error code.</td>
        </tr>
      </table>
  </div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">See Also</h5>
      <ul class="nolist"><li><code><a href="../../../../../com/ksyun/media/streamer/capture/AudioCapture.html#AUDIO_ERROR_UNKNOWN">AUDIO_ERROR_UNKNOWN</a></code></li><li><code><a href="../../../../../com/ksyun/media/streamer/capture/AudioCapture.html#AUDIO_START_FAILED">AUDIO_START_FAILED</a></code></li>
      </ul>
  </div>

    </div>
</div>


<a id="onStatusChanged(int)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
        abstract 
         
        void
      </span>
      <span class="sympad">onStatusChanged</span>
      <span class="normal">(int status)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Notify AudioCapture status changed.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>status</th>
          <td>new status changed to
</td>
        </tr>
      </table>
  </div>

    </div>
</div>





<!-- ========= METHOD DETAIL ======== -->



<!-- ========= END OF CLASS DATA ========= -->
<a id="navbar_top"></a>

<div id="footer">
Generated by <a href="http://code.google.com/p/doclava/">Doclava</a>.
</div> <!-- end footer -->

</div> <!-- jd-content -->

</div><!-- end doc-content -->

</div> <!-- end body-content --> 

<script type="text/javascript">
init(); /* initialize doclava-developer-docs.js */
</script>

</body>
</html>
